-- GENERATED SPELL FOR [Wrathscale Sorceress] --


function spell0_17336(pUnit, Event) --@Frostbolt,n/a--
pUnit:FullCastSpellOnTarget(9672,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17336', 7000, 1)
end

function Sorts_17336(pUnit, Event)
local choix_sorts_17336 = math.random(0, 0)
if choix_sorts_17336 == 0 then
pUnit:RegisterEvent('spell0_17336', 1, 1)
end
end

function mob17336_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17336', math.random(1500, 3000), 1)
end

function mob17336_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17336_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17336_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17336, 1, 'mob17336_Action')
RegisterUnitEvent(17336, 2, 'mob17336_Leave')
RegisterUnitEvent(17336, 3, 'mob17336_Kill')
RegisterUnitEvent(17336, 4, 'mob17336_Die')
